class CreateImagens < ActiveRecord::Migration
  def self.up
    create_table :imagens do |t|
      t.column :caminho, :string, :null => false, :unique => true
      t.column :nome, :string
      t.column :descricao, :text
    end
  end

  def self.down
    drop_table :imagens
  end
end
